{% extends "base.html" %}

{% block head %}
    {{ super() }}
    <meta name="language" content="{{ lang }}">
    {% if lang != 'en' %}
    <link rel="alternate" hreflang="en" href="{{ url_for(request.endpoint, _external=True) }}">
    {% endif %}
    {% for code in LANGUAGE_MAP.keys() %}
    {% if code != lang %}
    <link rel="alternate" hreflang="{{ code }}" href="{{ url_for(request.endpoint, lang=code, _external=True) }}">
    {% endif %}
    {% endfor %}
{% endblock %}

{% block body_class %}no-auto-scroll{% endblock %} 